<?php
namespace App\Domain\Item;

use Illuminate\Support\ServiceProvider;

class ItemServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\Item\Service\ItemService',
            'App\Domain\Item\Service\ItemServiceImpl'
        );
        $this->app->singleton('itemService', function () {
            return $this->app->make('App\Domain\Item\Service\ItemService');
        });
    }
}
